package ijij41.togetherTrain;

import android.app.Activity;
import android.content.*;
import android.os.Bundle;

public class LogoActivity extends Activity {
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.logo);
		
		Thread t = new Thread(new Runnable() {
			@Override
			public void run() {
				try {
					Thread.sleep(1000);
					//Thread.sleep(3000);
				} catch (InterruptedException e) {
					e.printStackTrace();
				}
				
				Intent mainActivity = new Intent(LogoActivity.this, MainActivity.class); 
				startActivity(mainActivity);
			}
		});

		t.start();
	}
}